package cnn.user.dao;

import cnn.user.entity.UserDTO;
import cnn.user.entity.UserLoginQTO;
import cnn.topfox.mapper.BaseMapper;
import org.springframework.stereotype.Component;

@Component
public interface UserDao extends BaseMapper<UserDTO> {

    /**
     * 登录逻辑
     * @param qto
     * @return
     */
    UserDTO login(UserLoginQTO qto);


}